//
//  JaneAVManager.h
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 张静. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface JaneAVManager : NSObject
//播放器
@property (nonatomic, strong ,readonly)AVPlayer *player;
//播放列表
@property (nonatomic, strong) NSMutableArray *itemArray;
//当前下标
@property (nonatomic, assign)NSInteger currentIndex;
//播放
- (void)play;
//暂停
- (void)pause;
//跳转进度
- (void)seekToTime:(CMTime)time;
//上一曲
- (void)previous;
//下一曲
- (void)next;
//单例

+ (instancetype)shareManager;

@end
